package com.proxy.demo01;

public class RealSearcher implements Searcher {
    @Override
    public String doSearch(String userId, String searchType) {
        String sql = "SELECT * FROM data_table WHERE key_col = '" + searchType + "'";
        // 执行sql查询，返回查询结果
        return userId +" result set from "+sql;
    }
}
